package com.xiaomei.manager.dao;

import java.util.List;

import com.xiaomei.manager.model.SysUser;

public interface SysUserMapper {
    int deleteByPrimaryKey(Long id);

    int insert(SysUser record);

    int insertSelective(SysUser record);

    SysUser selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(SysUser record);

    int updateByPrimaryKey(SysUser record);
    /**
     * 查询最近插入记录的ID编号
     * @return
     */
    Long selectLastInsertID();
    
    List<SysUser> selectAll();
    
    SysUser selectByUsername(String username);
}